/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package parser;

import java.awt.Color;

/**
 *
 * @author nate
 */
public class XisYPhrase implements Phrase, PhraseDecorator
{
        public String xisyPhrase;


    public XisYPhrase(String val)
    {
        xisyPhrase = val;
    }

    public void Print()
    {
        System.out.println(xisyPhrase + ": I am an 'x is y' Phrase");
    }

    public Color getColor()
    {
        return Color.PINK;
    }

    public String getValue()
    {
        return xisyPhrase;
    }
    public String getAssociations()
    {
        return null;
    }

    public String getType()
    {
        return "xisy";
    }
}
